package com.zhigongtech.tender.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.zhigongtech.extension.entry.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * SYS_OPERATE_LOG 操作日志
 * </p>
 *
 * @author Alan
 * @since 2019-05-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_operate_log")
@ApiModel(value="OperateLog对象", description="SYS_OPERATE_LOG 操作日志")
public class OperateLog extends DataEntity<OperateLog> {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "class类名路径")
    private String clazzPath;

    @ApiModelProperty(value = "方法名")
    private String methodName;

    @ApiModelProperty(value = "参数JSON对象")
    private String params;

    @ApiModelProperty(value = "请求用户账号")
    private String reqAccount;

    @ApiModelProperty(value = "请求地址")
    private String reqUri;

    @ApiModelProperty(value = "请求方式：POST, GET")
    private String reqMethod;

    @ApiModelProperty(value = "请求方的IP地址")
    private String reqIp;

    @ApiModelProperty(value = "请求的语言")
    private String reqLang;

    @ApiModelProperty(value = "客户端浏览器的语言")
    private String clientBrowserLang;
    
    @ApiModelProperty(value = "浏览器信息")
    private String userAgent;

    @ApiModelProperty(value = "处理状态：0-失败，1-成功")
    private Integer status;

    @ApiModelProperty(value = "处理结果")
    private String result;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;


}
